package cn.zyq.baking.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**管理员在后台系统中： 加载所有文章返回给前端页面(mapper-->service-->controller-->vue)，用于管理员查看所有文章*/
@Data
public class ContentManagementVO {
    private  Long id;
    private  String title;
    private  String imgUrl;
    private  String brif;
    private  Long type;
    private  String categoryName;
    private  Integer viewCount;
    private  Integer commentCount;
    @JsonFormat(pattern = "yyyy/MM/dd",timezone = "GMT+8")
    private Date createTime;
}